home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000205_blitz-list-request_Mon Aug 15 15:01:11 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  1KB

  1. Received: from sun2.nsfnet-relay.ac.uk (sun2.nsfnet-relay.ac.uk [128.86.8.45]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id OAA09499 for <blitz-list@helsinki.fi>; Mon, 15 Aug 1994 14:59:38 +0300
  2. Via: uk.ac.edinburgh.meteorology; Mon, 15 Aug 1994 12:54:17 +0100
  3. Date: Mon, 15 Aug 94 12:54:10 BST
  4. Message-Id: <2779.9408151154@met.ed.ac.uk>
  5. From: M Cooper <mcc@meteorology.edinburgh.ac.uk>
  6. Subject: Copper Lists
  7. To: blitz-list@helsinki.fi
  8. MIME-Version: 1.0
  9. Content-Type: text/plain; charset="us-ascii"
  10. Content-Transfer-Encoding: 7bit
  11. X-Status: 
  12. Status: O
  13.  
  14. The best way to get the hang of Copperlists with Blitz (I find) is to
  15. write a little Copper disassembler. Then setup the display as necessary
  16. and view the Copper List with it
  17.  
  18. To do this scan through the memory adresses from CopLoc to CopLoc +
  19. CopLen step 4, decode the pairs of words at these addresses.
  20.  
  21. For adr.l=CopLoc to CopLoc+CopLen Step 4
  22.  word1.w=peek.w(adr)
  23.  word2.w=peek.w(adr+2)
  24.  ...
  25. Next
  26.  
  27. The lowest bits tell you the type of Copper command,a nd the other bits
  28. give the data and adresses. See the Blitz manual appendix, and interpret
  29. the results as you go. Then you can make up a table of useful data
  30. adresses for your particular Coper list set-up,a nd poke new data e.g.
  31. colours into these values.
  32.  
  33. If enough people want me to, ill post my own Copper disassembler here.
  34.  
  35.         Mike Cooper
  36.